package nft

import (
	"github.com/gin-gonic/gin"
	"ppa/controller/nft"
)

func Routers(e *gin.Engine) {
	nftGroup := e.Group("/nft")
	{
		nftGroup.GET("/info", nft.GetNftInfo)
		nftGroup.GET("/list", nft.GetNftTopList)
		nftGroup.GET("/transient_info", nft.GetNftTransientInfo)
		nftGroup.POST("/info/buy", nft.SetBuyNft)
		nftGroup.POST("/info", nft.SetNftInfo)
		nftGroup.PUT("/info/state", nft.SetNftInfoByUserId)
	}

}
